#ifndef MATERIALREADER_H
#define MATERIALREADER_H

#include <qdom.h>

class cceMaterialManager;
class cceMaterialReader
{
private:
  cceMaterialManager    *_manager;

  void ReadTexture (QDomElement element);
  void ReadTextures (QDomElement element);

	void ReadShader (QDomElement element);
	void ReadShaders (QDomElement element);

	void ReadProgram (QDomElement element);
	void ReadPrograms (QDomElement element);

	void ReadEffect (QDomElement element);
	void ReadEffects (QDomElement element);

	void ReadMaterials (QDomElement element);
	void ReadMaterial (QDomElement element);

public:
  cceMaterialReader(cceMaterialManager  *manager);

  void ReadAll ();
  void ReadTextures ();
	void ReadShaders ();
	void ReadPrograms ();
	void ReadEffects ();
	void ReadMaterials ();
};

#endif // MATERIALREADER_H
